namespace dPet.Infrastructure.EntityFramework.Migrations
{
    using System;
    using System.Data.Entity.Migrations;
    
    public partial class UpdateModels2 : DbMigration
    {
        public override void Up()
        {
            RenameTable(name: "dbo.Category", newName: "ProductCategory");
            RenameTable(name: "dbo.SubCategory", newName: "ProductSubCategory");
        }
        
        public override void Down()
        {
            RenameTable(name: "dbo.ProductSubCategory", newName: "SubCategory");
            RenameTable(name: "dbo.ProductCategory", newName: "Category");
        }
    }
}
